<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN""http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html>
<head>
<#include "/common/resources.ftl"/>
<script type="text/javascript">
	function m_submit(){
		window.saveOrEditForm.submit();
	}
	
	function m_back(){
		window.location.href = 'manage';
	}
	<#if errorMsg?exists >alert('${errorMsg}');</#if>
</script>
</head>
<body>
  <form action="${ctx}/xf/customerpremises/save_edit" method="post" class="loan_list_form" name="saveOrEditForm">
  <input type="hidden" name="id" value="<#if model?exists >${model.id}</#if>" />
  <div class="fm_sty" style="margin: 20px 0px 0px;">
        <#if model?exists >
        <#else>
        </#if>
	       	<div class="ipt_line">
				<span class="ipt_title">开发商</span>
				<input type="text" name="devCompanyName" value="<#if model?exists >${model.devCompanyName}</#if>" class="ipt_226" />
			</div>
        <#if model?exists >
        <#else>
        </#if>
	       	<div class="ipt_line">
				<span class="ipt_title">经纪公司</span>
				<input type="text" name="staffCompanyName" value="<#if model?exists >${model.staffCompanyName}</#if>" class="ipt_226" />
			</div>
        <#if model?exists >
        <#else>
        </#if>
	       	<div class="ipt_line">
				<span class="ipt_title">经纪人</span>
				<input type="text" name="clientSource" value="<#if model?exists >${model.clientSource}</#if>" class="ipt_226" />
			</div>
        <#if model?exists >
        <#else>
        </#if>
	       	<div class="ipt_line">
				<span class="ipt_title">报备客户</span>
				<input type="text" name="name" value="<#if model?exists >${model.name}</#if>" class="ipt_226" />
			</div>
        <#if model?exists >
        <#else>
        </#if>
	       	<div class="ipt_line">
				<span class="ipt_title">手机号码</span>
				<input type="text" name="mobile" value="<#if model?exists >${model.mobile}</#if>" class="ipt_226" />
			</div>
        <#if model?exists >
        <#else>
        </#if>
	       	<div class="ipt_line">
				<span class="ipt_title">意向楼盘</span>
				<input type="text" name="premisesName" value="<#if model?exists >${model.premisesName}</#if>" class="ipt_226" />
			</div>
        <#if model?exists >
        <#else>
        </#if>
	       	<div class="ipt_line">
				<span class="ipt_title">报备状态</span>
				<input type="text" name="cusNewStatusName" value="<#if model?exists >${model.cusNewStatusName}</#if>" class="ipt_226" />
			</div>
        <#if model?exists >
        <#else>
        </#if>
	       	<div class="ipt_line">
				<span class="ipt_title">交易状态</span>
				<input type="text" name="confirmStatusName" value="<#if model?exists >${model.confirmStatusName}</#if>" class="ipt_226" />
			</div>
        <#if model?exists >
        <#else>
        </#if>
	       	<div class="ipt_line">
				<span class="ipt_title">佣金</span>
				<input type="text" name="commission" value="<#if model?exists >${model.commission}</#if>" class="ipt_226" />
			</div>
        <#if model?exists >
        <#else>
        </#if>
	       	<div class="ipt_line">
				<span class="ipt_title">备注</span>
				<textarea  name="remark" style="width:250px;height:150px;"><#if model?exists >${model.remark}</#if></textarea>
			</div>
        <#if model?exists >
        <#else>
        </#if>
      <div class="ipt_line_long">
           <#-- <button class="red_100" onclick="javascript:m_submit();return false;">保存</button>-->
            <button class="red_100" onclick="javascript:m_back();return false;" style="background-color:#74D86A">返回</button>
      </div>
	</div>
	</form>
</body>
</html>
